-
A view controller that displays the current maneuver instruction as a “banner” flush with the edges of the containing view. The user swipes to one side to preview a subsequent maneuver.
This class is the default top banner view controller used by
See moreNavigationOptionsandNavigationViewController.InstructionsCardViewControllerprovides an alternative, user notification–like interface.Declaration
Swift
open class TopBannerViewController : UIViewControllerextension TopBannerViewController: NavigationComponentextension TopBannerViewController: InstructionsBannerViewDelegateextension TopBannerViewController: StepsViewControllerDelegateextension TopBannerViewController: CarPlayConnectionObserverextension TopBannerViewController: NavigationStatusPresenterextension TopBannerViewController: NavigationMapInteractionObserver -
TopBannerViewControllerDelegateprovides methods for reacting to the user interactions withTopBannerViewController. Such interactions include:InstructionsBannerViewswiping to the left, right, top and bottom.StepTableViewCellselection.- Display or dismissal of
StepsViewController, which shows list of remaining legs and steps.
Declaration
Swift
public protocol TopBannerViewControllerDelegate : VisualInstructionDelegate -
A view controller that displays the current maneuver instruction as a “card” resembling a user notification. A subsequent maneuver is always partially visible on one side of the view; swiping to one side reveals the full maneuver.
This class is an alternative to the more traditional banner interface provided by the
See moreTopBannerViewControllerclass. To useInstructionsCardViewController, create an instance of it and pass it into theNavigationOptions(styles:navigationService:voiceController:topBanner:bottomBanner:)method.Declaration
Swift
open class InstructionsCardViewController : UIViewControllerextension InstructionsCardViewController: UICollectionViewDelegateextension InstructionsCardViewController: UICollectionViewDataSourceextension InstructionsCardViewController: UICollectionViewDelegateFlowLayoutextension InstructionsCardViewController: NavigationComponentextension InstructionsCardViewController: InstructionsCardContainerViewDelegateextension InstructionsCardViewController: NavigationMapInteractionObserver -
A container view for the information currently displayed in
See moreInstructionsCardViewController.Declaration
Swift
public class InstructionsCardContainerView : StylableView, InstructionsCardContainerViewDelegate -
The
See moreInstructionsCardContainerViewDelegateprotocol defines methods that allow an object to customize presented visual instructions within the instructions container view.Declaration
Swift
public protocol InstructionsCardContainerViewDelegate : VisualInstructionDelegate -
A banner view that contains the current step instruction and responds to tap and swipe gestures.
This class responds and gets updated as the user progresses along a route according to the
See moreNavigationComponentandBaseInstructionsBannerViewprotocol.Declaration
Swift
@IBDesignable open class InstructionsBannerView : BaseInstructionsBannerView, NavigationComponent -
See moreInstructionsBannerViewDelegateprovides methods for reacting to user interactions inInstructionsBannerView.Declaration
Swift
public protocol InstructionsBannerViewDelegate : VisualInstructionDelegate -
A banner view that contains the current step instruction along a route and responds to tap and swipe gestures, as the base of
See moreInstructionsCardViewandInstructionsBannerView.Declaration
Swift
open class BaseInstructionsBannerView : UIControl -
A view that contains a simple image indicating a type of maneuver.
See moreDeclaration
Swift
@IBDesignable open class ManeuverView : UIView -
A junction view shows an image depicting the layout of a highway junction.
As the user approaches certain junctions, an enlarged illustration of the junction appears in this view to help the user understand a complex maneuver. A junction view only appears when the relevant data is available.
See moreDeclaration
Swift
public class JunctionView : UIImageView -
GenericRouteShieldis a class to render routes that do not have route-shields.Declaration
Swift
public class GenericRouteShield : StylableView -
See moreStepsViewControllerDelegateprovides methods for user interactions in aStepsViewController.Declaration
Swift
public protocol StepsViewControllerDelegate : AnyObject -
A user interface element designed to display the estimated arrival time, distance, and time remaining, as well as give the user a control the cancel the navigation session.
See moreDeclaration
Swift
@IBDesignable open class BottomBannerViewController : UIViewController, NavigationComponent -
See moreBottomBannerViewControllerDelegateprovides a method for reacting to the user tapping on the “cancel” button in theBottomBannerViewController.Declaration
Swift
public protocol BottomBannerViewControllerDelegate : AnyObject
Install in Dash
Guidance Instruction UI Reference